package com.zhuangfei.hpuhelper.tools;

import android.content.Context;
import android.database.sqlite.SQLiteDatabase;
import android.database.sqlite.SQLiteDatabase.CursorFactory;
import android.database.sqlite.SQLiteOpenHelper;

public class DatabaseHelper extends SQLiteOpenHelper {
	final String CREATE_TABLE_SQL_OF_TIMETABLE=
			"create table timetable(tid int,tname varchar(50),troom varchar(50),tweek varchar(60),"+
			")";
	public DatabaseHelper(Context context, String name,int version) {
		super(context, name, null, version);
	}

	@Override
	public void onCreate(SQLiteDatabase db) {
		db.execSQL(CREATE_TABLE_SQL_OF_TIMETABLE);
	}

	@Override
	public void onUpgrade(SQLiteDatabase arg0, int arg1, int arg2) {
	}

}
